// 获取goods
export const getGoods = (that, obj) => {
    return that.$get("/admin/goods", obj);
};

// 添加goods
export const addGoods = (that, obj) => {
    return that.$post("/admin/goods/add", obj);
};

// 修改goods
export const updateGoods = (that, obj) => {
    return that.$post("/admin/goods/update", obj);
};

// 删除单个goods
export const deleteGoods = (that, obj) => {
    return that.$get("/admin/goods/delete", obj);
};

// 显示展示
export const showGoods = (that, obj) => {
    return that.$get("/admin/goods/show", obj);
};

// 批量删除goods
export const batchDelete = (that, obj) => {
    return that.$post("/admin/goods/batchDelete", obj);
};
